﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace CodeCamp12.Domain
{
    public class ConnectionStringProvider
    {
        public SqlConnection GetConnection()
        {
            return new SqlConnection
            {
                ConnectionString =
                    ConfigurationManager.ConnectionStrings["codeCamp12Connection"].ConnectionString
            };
        }
    }
}
